/* pages/goods_detail/index.wxss */
page{
    padding-bottom: 90rpx;
}

.detail_swiper{
    swiper{
        height:65vw;
        text-align: center;
        image{
            width:60%;
        }
    }
}


.goods_price{
    padding:15rpx;
    font-size:32rpx;
    font-weight: 600;
    color:var(--themeColor);
}
.goods_name_row{
    border-top:5rpx solid #dedede;
    border-bottom: 5rpx solid #dedede;
    padding:10rpx 0;
    display:flex;
    .goods_name{
        flex:5;
        color:black;
        font-size:30rpx;
        padding:0 10rpx;
        // 文字台独就会变成....
        display:-webkit-box;
        overflow: hidden;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;

    }
    .goods_collect{
        flex:1;
        display:flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-left:1rpx solid black;
        .iconfont{

        }
        .icon-star{color:orangered;}
        .collect_text{}
    }
}

.goods_info{
    .goods_info_title{
        font-size:32rpx;
        color:var(--themeColor);
        font-weight:600;
        padding:20rpx;
    }
    .goods_info_content{}
}


.btm_tool{
    border-top: 1rpx solid #ccc;
    position: fixed;
    left:0;
    bottom:0;
    width:100%;
    height:90rpx;
    background-color: white;
    display:flex;
    .tool_item{
        font-size: 24rpx;
        flex:1;
        display:flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position:relative;
        button{
            position: absolute;
            top:0;
            left:0;
            width:100%;
            height:100%;
            opacity: 0;
        }
    }
    .btn_cart{
        flex:2;
        display:flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: #ffa500;
        color:white;
        font-size: 30rpx;
        font-weight:600;
    }
    .btn_buy{
        flex:2;
        display:flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: #eb4450;
        color:white;
        font-size: 30rpx;
        font-weight:600;
    }
}